package com.init.bootframe.business.dao;

import com.init.bootframe.business.vo.CustomerVO;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface ICustomerDao {

    /**
     * 客户list 查询
     * @param customerVO
     * @return
     */
    List<CustomerVO> findCustomerList(CustomerVO customerVO);

    /**
     * 客户总数查询
     * @param customerVO
     * @return
     */
    int findCustomerCount(CustomerVO customerVO);

    /**
     * 客户详情查询
     * @param customerVO
     * @return
     */
    CustomerVO findCustomer(CustomerVO customerVO);

    /**
     * 客户添加
     * @param customerVO
     */
    void addCustomer(CustomerVO customerVO);

    /**
     * 客户修改
     * @param customerVO
     */
    void updateCustomer(CustomerVO customerVO);

    /**
     * 客户删除
     * @param customerVO
     */
    void deleteCustomer(CustomerVO customerVO);

}
